Release 10.1A: OpenEdge Development:
Progress 4GL Reference
INPUT-OUTPUT CLOSE statement
(NT, UNIX only)Closes a specified or default stream opened by an INPUT-OUTPUT THROUGH statement.
Syntax
STREAMstreamThe name of the stream you want to close. If you do not name a stream, Progress closes the default stream used by an INPUT-OUTPUT THROUGH statement.
ExampleThis procedure uses a C program to recalculate the price of each item in inventory. Specifically, the C program increases the price of each item by 3% or by 50 cents, whichever is greater. The INPUT-OUTPUT THROUGH statement tells the procedure to get its input from, and send its output to, the
r-iothru.pprocedure. The INPUT-OUTPUT CLOSE statement resets the input source to the terminal and the output destination to the terminal.
Note
For more information, see OpenEdge Development: Programming Interfaces .
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |